﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserControls_News_List : bzUCBase
{
    public DataTable dt = new DataTable();
    protected void Page_Load(object sender, EventArgs e)
    {
        this.initSiteLang(bzSiteOption.Group.Limit, bzSiteOption.Note.NewsOne, bzLang.Note_NewsOne);
        int limit = Convert.ToInt32(this.SiteOption["LimitItem_News"]);
        long total = new bzNewsOne().getTotal("", "1", "-1","-1");
        this.loadPaginationReplaceURL(total, limit, bzStringClass.Root + "tu-van");
        dt = new bzNewsOne().getTable("", "1",this.PageNum.ToString(),limit.ToString(), "-1", "-1");

    }
}
